/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author            Notes
 * 2018-10-30     SummerGift        first version
 */
 
#ifndef __DRV_CONFIG_H__
#define __DRV_CONFIG_H__

#include <board.h>
#include <rtthread.h>

#ifdef __cplusplus
extern "C" {
#endif

#if defined(SOC_SERIES_STM32F0)
#include "STM32f0/dma_config.h"
#include "STM32f0/uart_config.h"
#include "STM32f0/spi_config.h"
#include "STM32f0/tim_config.h"
#include "STM32f0/pwm_config.h"
#include "STM32f0/adc_config.h"
#elif defined(SOC_SERIES_STM32F1)
#include "STM32f1/dma_config.h"
#include "STM32f1/uart_config.h"
#include "STM32f1/spi_config.h"
#include "STM32f1/adc_config.h"
#include "STM32f1/tim_config.h"
#include "STM32f1/sdio_config.h"
#include "STM32f1/pwm_config.h"
#elif  defined(SOC_SERIES_STM32F4)
#include "STM32f4/dma_config.h"
#include "STM32f4/uart_config.h"
#include "STM32f4/spi_config.h"
#include "STM32f4/adc_config.h"
#include "STM32f4/tim_config.h"
#include "STM32f4/sdio_config.h"
#include "STM32f4/pwm_config.h"
#elif  defined(SOC_SERIES_STM32F7)
#include "STM32f7/dma_config.h"
#include "STM32f7/uart_config.h"
#include "STM32f7/spi_config.h"
#include "STM32f7/qspi_config.h"
#include "STM32f7/adc_config.h"
#include "STM32f7/tim_config.h"
#include "STM32f7/sdio_config.h"
#include "STM32f7/pwm_config.h"
#elif  defined(SOC_SERIES_STM32L4)
#include "STM32l4/dma_config.h"
#include "STM32l4/uart_config.h"
#include "STM32l4/spi_config.h"
#include "STM32l4/qspi_config.h"
#include "STM32l4/adc_config.h"
#include "STM32l4/tim_config.h"
#include "STM32l4/pwm_config.h"
#elif  defined(SOC_SERIES_GD32E10X)
#include "GD32E1/dma_config.h"
#include "GD32E1/uart_config.h"
#elif  defined(SOC_SERIES_AT32F403)
#include "AT32F4/dma_config.h"
#include "AT32F4/uart_config.h"
#include "AT32F4/spi_config.h"
#endif

#ifdef __cplusplus
}
#endif

#endif
